#base image
FROM java:8-jre

#MAINTAINER
MAINTAINER jsonor@163.com

#RUN
RUN mkdir /var/app

#ADD
ADD demo-web1-0.0.1-SNAPSHOT.jar /var/app

#EXPOSE
EXPOSE 80

#WORKDIR
WORKDIR /var/app

CMD java -jar /var/app/demo-web1-0.0.1-SNAPSHOT.jar